{%extends "user/user_base.html"%}

{%block breadcrum%}
{{block.super}}
&gt登录
{%endblock%}

{%block user_content%}

{% if message %}

    {%ifequal message "inactive user"%}
        <div class="error_msg span-6 last" >
        <h3>帐号没有激活</h3>
        </div>
        <hr/>
    {%endifequal%}

    {%ifequal message "invalid user"%}
        <div class="error_msg span-6 last">
        <h3>帐号或者密码不对!</h3>
        </div>
        <hr/>
    {%endifequal%}

{% else %}
    <h4>在本站发帖前，请先登录。</h4>
{%endif%}

<h5 class="prepend-1">如果您还没有本站账号，请点击<a href="/register/">这里完成注册</a></h5>

<form class="form" name="mainform" method="post" action="">
<table width="100%" class="table">
    <tr>
    <td class="left">帐号* </td>
    <td class="right"><input type="text" name="username" value="" maxlength="12" style="width:200px;"> 英文或数字3~12位</ td>
    </tr>

    <tr>
    <td class="left">密码* </td>
    <td class="right"><input type="password" name="password" value="" maxlength="12" style="width:200px;">英文或数字3~12位</td>
    </tr>
    
</table>

<div class="button">
    <input type="submit" name="submit_btn" />
</div>

<input type="hidden" name="previous" value="{{ previous }}" />
</form>

{%endblock%}
